//
//  NSString+category.h
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/6/1.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (category)
//身份证号
+ (BOOL) validateIdentityCard: (NSString *)identityCard;

#pragma mark 给字符串加下划线
+(NSMutableAttributedString *)makeLineStyle:(NSString *)string color:(UIColor *)color fontSize:(CGFloat)fontSize;

+(CGSize)stringSizeWithMaxSize:(CGSize)maxSize WithFontSize:(CGFloat)fontSize withString:(NSString *)string;

+(NSMutableAttributedString *)makecolor:(NSString *)string color:(UIColor *)color;
#pragma mark 校验邮箱
+(BOOL)isValidateEmail:(NSString *)email;
@end
